.class public Lcom/xingbook/ting/fragment/p;
.super Landroid/os/Handler;


# instance fields
.field a:Ljava/lang/ref/WeakReference;


# direct methods
.method constructor <init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/ting/fragment/p;->a:Ljava/lang/ref/WeakReference;

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/p;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "ShowToast"
        }
    .end annotation

    const/4 v3, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/p;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    if-eqz v1, :cond_0

    iget v2, p1, Landroid/os/Message;->what:I

    packed-switch v2, :pswitch_data_0

    goto :goto_0

    :pswitch_0
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    if-eqz v0, :cond_0

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    instance-of v0, v0, Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Ljava/lang/String;

    invoke-static {v1, v0, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    :pswitch_1
    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    const-string v2, "right"

    invoke-virtual {v1, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u6b4c\u8bcd\u89e3\u6790\u4e2d\u00b7\u00b7\u00b7"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :pswitch_2
    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    const-string v2, "right"

    invoke-virtual {v1, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/TextView;

    move-result-object v1

    const-string v2, ""

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->i(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Lcom/xingbook/ting/lyric/d;

    move-result-object v1

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Lcom/xingbook/ting/lyric/d;->a(Ljava/util/ArrayList;)V

    goto :goto_0

    :pswitch_3
    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    const-string v2, "error"

    invoke-virtual {v1, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/TextView;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u6b4c\u8bcd\u89e3\u6790\u5931\u8d25("

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\uff0c\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5\uff01"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :pswitch_4
    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    const-string v2, "right"

    invoke-virtual {v1, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u6682\u65f6\u6ca1\u6709\u6b4c\u8bcd"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :pswitch_5
    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    const-string v2, "right"

    invoke-virtual {v1, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u7f51\u7edc\u6b4c\u8bcd\u52a0\u8f7d\u4e2d\u00b7\u00b7\u00b7"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :pswitch_6
    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    const-string v2, "error"

    invoke-virtual {v1, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u7f51\u7edc\u6b4c\u8bcd\u52a0\u8f7d\u5931\u8d25\uff0c\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5\uff01"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :pswitch_7
    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    const-string v2, "error"

    invoke-virtual {v1, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u65e0\u6cd5\u52a0\u8f7d\u6b4c\u8bcd\u6587\u4ef6\uff0c\u8f7b\u89e6\u5c4f\u5e55\u91cd\u65b0\u52a0\u8f7d\uff01"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :pswitch_8
    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    const-string v2, "error"

    invoke-virtual {v1, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u6b4c\u8bcd\u6587\u4ef6\u8bfb\u53d6\u5931\u8d25\uff0c\u8f7b\u89e6\u5c4f\u5e55\u91cd\u65b0\u52a0\u8f7d\uff01"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :pswitch_9
    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;

    move-result-object v1

    const-string v2, "right"

    invoke-virtual {v1, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u52a0\u8f7d\u4e2d\u00b7\u00b7\u00b7"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
    .end packed-switch
.end method
